package com.my.project.service.impl;

import com.my.project.mapper.UserMapper;
import com.my.project.model.User;
import com.my.project.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: lsg
 * @Date: Created 2018-08-01 16:31
 */
@Service
public class UserService implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> getAllUser() {
        return userMapper.getAllUser();
    }
}
